package com.springboot.log4j.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Desc: Hello World 控制层
 * @Date: 2020-07-09
 * @Version:v1.0
 */
@RestController
@RequestMapping("/hello")
public class HelloController {

    @PostMapping("/say")
    public String sayHello() {
        return "hello world, Spring Boot";
    }
}
